Alpha Anywhere Workspace Functions
Description
Functions for working with the Alpha Anywhere desktop workspace.
- Name
- Description
- a5_add_tables_sets Function
Displays the dialog box to add tables and sets to the Database.
- a5_addin_version_number Function
Sets the addin version number. Each addin database must have a 'startup' script that calls this function
- a5_backup_db_dialog Function
Displays the Backup Database dialog box
- A5_BACKUP_LOGFILE_EXIST Function
The A5_BACKUP_LOGFILE_EXIST() function determines whether a log file has been created when doing a backup.
- A5_BACKUP_SETTINGS_EXIST Function
The A5_BACKUP_SETTINGS_EXIST() function indicates whether backup configuration settings have been created.
- a5_create_new_database Function
Creates a new empty Database (.adb file). Prompts user for filename.
- a5_database_startup Function
Displays the Database Selection screen when Alpha Anywhere is started.
- A5_DATABASECOMPACT Function
The A5_DATABASECOMPACT() function compacts a database and rebuilds indexes. This is the same as the File > Database Compact command. .
- a5_databaseerrorsignature Function
Used so that code can clean up the error messages return by AlphaDAO when a database server error occurs.
- a5_drop_from_database Function
If a table or set has focus, then drop the table or set from the database. Otherwise, display the multiple drop dialog.
- a5_edit_recent_db_list Function
Edit the recent database list.
- a5_get_ado_databasetype Function
Returns the database type for a given connection string
- a5_get_raw_recent_files Function
Get the specified number of files in the most recently used database list.
- a5_getdefaultshadowdbfolder Function
Returns the default location of a shadow database
- a5_gettables_ado Function
Use ADO to get the names of Tables and View in a Database. Can specify connection string, or MDB filename.
- A5_IS_DATABASE_OPEN Function
The A5_IS_DATABASE_OPEN() returns TRUE (.T.) if any database is currently open
- a5_more_database_list Function
Displays the list showing all databases in the Most Recently Used list.
- a5_new_database_genie Function
New Table/Set/Database Genie. Checks if templates are installed. If not downloads them.
- a5_recent_databases Function
Returns a string in a menu format of the most recently used databases. Long file names are trimmed.
- a5_send_db_dialog Function
Opens the Zip Database dialog box
- a5_start_in_debug_mode Function
If shift+control is being held down when the database is opened, then prompts for startup options.
- A5_TABLE_ENUM_ACTUAL Function
The A5_TABLE_ENUM_ACTUAL() function returns a list of tables in the current database that have valid filenames. The tables must exist.
- a5_welcome_dialog Function
Displays the list showing all databases in the Most Recently Used list.
- A5InstanceCount Function
Returns the number of instances of Alpha Anywhere that are running.
- CAN_APPLICATION_EXIT Function
Registers code to be executed before the application is closed. If Cancel() is called, the application is not closed.
- CAN_DATABASE_EXIT Function
Registers code to be executed before the current database is closed. If Cancel() is called, the database is not closed.
- CREATE_SHADOW Function
Creates a shadow of an ADB file & opens it.
- CREATE_SHADOW2 Function
Create a Network Optimized version of the current database. An improved version of create_shadow(). Only available in V6 or above.
- EXPORT_TO_QUICKBOOKS Function
EXPORT_TO_QUICKBOOKS() exports an Alpha table to QuickBooks.
- FILE_ADD_TO_DB Function
FILE_ADD_TO_DB() adds the .dbf table to the database (the .adb file) so that the Table_Filename appears in the Control Panel.
- file_add_to_db_low Function
Add the specified table(s) or set(s) to the current database.
- FILE_DROP_FROM_DB Function
FILE_DROP_FROM_DB() drops the table (.dbf) or set (.set) from the database (the .adb file) so that the Table_Filename no longer appears in the Control Panel. Can take a CRLF delimited list.
- file_drop_from_db_low Function
Drop the specified table(s) or set(s) from the current database.
- IMPORT_FROM_QUICKBOOKS Function
IMPORT_FROM_QUICKBOOKS() imports a table from QuickBooks and creates an Alpha table. IMPORT_FROM_QUICKBOOKS( ) is a part of QLinker, which is available as an optional add-in for Alpha Anywhere.
- LIST_FILES_IN_DATABASE Function
Returns a CRLF delimited list of all physical files in a database.
- LOAD_ADB_DEF Function
Returns contents of an ADB file in a readable format mode=1 for load all contents, 0 for just tables and sets.
- MOST_RECENTLY_USED_DATABASE_ENUM Function
Return the most recently loaded databases.
- ODBC_IMPORT_TABLE Function
Imports a table from an external ODBC source, or an Access, Excel, or Outlook file, to a DBF table.
- ON_APPLICATION_EXIT Function
ON_APPLICATION_EXIT() executes the Code_String when Alpha Anywhere closes.
- ON_DATABASE_EXIT Function
Registers code to be executed when the current database is closed
- ON_DATABASE_INIT Function
ON_DATABASE_INIT() executes the Code_String when Alpha Anywhere opens the database.
- ONESTEP_BACKUP Function
ONESTEP_BACKUP() creates a backup of the database. The process is the same as using the Tools > Backup/Restore Database > One-step Backup... command. This command depends on the settings defined using View > Settings > Backup and Tools > Backup/Restore Database > Backup Database... commands.
- REFRESH_SHADOW Function
REFRESH_SHADOW() refreshes a Network Optimized database.
- RESTORE_DATABASE Function
RESTORE_DATABASE() displays the Restore Database dialog box.
- SAVE_ADB_DEF Function
The SAVE_ADB_DEF() function creates an Alpha Anywhere database (.ADB) file.
- SYSTEM_EVENT_DATA_GET Function
The SYSTEM_EVENT_DATA_GET() returns a pointer to system events that have been registered by the CAN_DATABASE_EXIT()and ON_DATABASE_EXIT()functions.
- SYSTEM_EVENT_DROP Function
The SYSTEM_EVENT_DROP() function removes an event registered by CAN_DATABASE_EXIT()or ON_DATABASE_EXIT().